package aircraft_war;

import javax.imageio.ImageIO;
import java.io.IOException;

public class Bullet extends BasicClass{
    int speed;
    @Override
    public void move() {
        this.y-=speed;
    }
    public  Bullet(int x,int y){
        //super(20);
        img=Main.bullet;
        speed=5;
        width=img.getWidth();
        height=img.getHeight();
        blood=1;
        this.x=x;
        /*y=-height;*/
        this.y=y;

    }
}
